home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Visual Basic Toolbox
/
Visual Basic Toolbox (P.I.E.)(1996).ISO
/
ocx
/
webster
/
16-bit
/
webster.odl
< prev
Wrap
Text File
|
1995-07-29
|
5KB
|
136 lines
// webster.odl : type library source for OLE Custom Control project.
// This file will be processed by the Make Type Library (mktyplib) tool to
// produce the type library (webster.tlb) that will become a resource in
// webster.ocx.
#include <olectl.h>
[ uuid(FF0A47B3-5CAC-11CE-ACAF-00AA004CA344), version(1.0),
helpstring("Webster OLE Custom Control module"), control ]
library WebsterLib
{
importlib(STDOLE_TLB);
importlib(STDTYPE_TLB);
// Primary dispatch interface for CWebsterCtrl
[ uuid(FF0A47B1-5CAC-11CE-ACAF-00AA004CA344),
helpstring("Dispatch interface for Webster Control"), hidden ]
dispinterface _DWebster
{
properties:
// NOTE - ClassWizard will maintain property information here.
// Use extreme caution when editing this section.
//{{AFX_ODL_PROP(CWebsterCtrl)
[id(DISPID_BORDERSTYLE), bindable, requestedit] short BorderStyle;
[id(DISPID_FONT), bindable] IFontDisp* Font;
[id(DISPID_HWND)] OLE_HANDLE hWnd;
[id(DISPID_ENABLED), bindable, requestedit] boolean Enabled;
[id(1)] short BevelStyleInner;
[id(2)] short BevelStyleOuter;
[id(3)] long BevelWidth;
[id(29)] IFontDisp* FontHeading1;
[id(30)] IFontDisp* FontHeading2;
[id(31)] IFontDisp* FontHeading3;
[id(32)] IFontDisp* FontHeading4;
[id(33)] IFontDisp* FontHeading5;
[id(34)] IFontDisp* FontHeading6;
[id(35)] IFontDisp* FontMenu;
[id(36)] IFontDisp* FontDir;
[id(37)] IFontDisp* FontBlockQuote;
[id(38)] IFontDisp* FontExample;
[id(39)] IFontDisp* FontPreformatted;
[id(40)] IFontDisp* FontListing;
[id(41)] IFontDisp* FontNormal;
[id(42)] IFontDisp* FontAddress;
[id(4)] OLE_COLOR BevelColorTop;
[id(5)] OLE_COLOR BevelColorDark;
[id(6)] OLE_COLOR BevelColorLight;
[id(7)] short UrlWindowStyle;
[id(8)] short TitleWindowStyle;
[id(9)] BSTR PageURL;
[id(10)] BSTR PageTitle;
[id(11)] OLE_COLOR AnchorColor;
[id(12)] BSTR HomePage;
[id(13)] BSTR DownloadDir;
[id(14)] long PagesToCache;
[id(DISPID_BACKCOLOR)] OLE_COLOR BackColor;
[id(15)] boolean IgnoreBaseInFile;
[id(43)] short LoadStatus;
[id(DISPID_FORECOLOR)] OLE_COLOR ForeColor;
[id(16)] long MaxSockets;
[id(17)] long MaxPageLoads;
[id(18)] long MarginHorizontal;
[id(19)] long MarginVertical;
[id(20)] boolean LoadImages;
[id(21)] boolean ShowReferer;
[id(22)] BSTR AuthenticName;
[id(23)] BSTR AuthenticPassword;
[id(24)] BSTR FromName;
[id(25)] BSTR BrowserName;
[id(26)] long ButtonMask;
[id(27)] BSTR ProxyServerHTTP;
[id(28)] long ProxyPortHTTP;
//}}AFX_ODL_PROP
methods:
// NOTE - ClassWizard will maintain method information here.
// Use extreme caution when editing this section.
//{{AFX_ODL_METHOD(CWebsterCtrl)
[id(DISPID_REFRESH)] void Refresh();
[id(44)] short SaveToDisk(BSTR FileName);
[id(45)] short Cancel();
[id(46)] long GetContentSize(BSTR URL);
[id(47)] long GetContentSizeRead(BSTR URL);
[id(48)] BSTR GetContentType(BSTR URL);
[id(49)] BSTR GetRedirectedURL(BSTR URL);
[id(50)] short GetHiddenFlag(BSTR URL);
[id(51)] short SetHiddenFlag(BSTR URL, boolean Hidden);
[id(52)] short DismissPage(BSTR URL);
[id(53)] long GetLinkCount(BSTR URL);
[id(54)] BSTR GetLinkURL(BSTR URL, long Index);
[id(55)] BSTR GetContent(BSTR URL, long StartOffset, long Length);
[id(56)] short GetStatus(BSTR URL);
[id(57)] BSTR GetTitle(BSTR URL);
[id(58)] BSTR GetText(BSTR URL, long StartOffset, long Length);
[id(59)] short LoadPage(BSTR URL, short Hidden);
[id(60)] long GetTextSize(BSTR URL);
//}}AFX_ODL_METHOD
[id(DISPID_ABOUTBOX)] void AboutBox();
};
// Event dispatch interface for CWebsterCtrl
[ uuid(FF0A47B2-5CAC-11CE-ACAF-00AA004CA344),
helpstring("Event interface for Webster Control") ]
dispinterface _DWebsterEvents
{
properties:
// Event interface has no properties
methods:
// NOTE - ClassWizard will maintain event information here.
// Use extreme caution when editing this section.
//{{AFX_ODL_EVENT(CWebsterCtrl)
[id(1)] void DoClickURL(BSTR* SelectedURL, boolean* Cancel);
[id(DISPID_KEYDOWN)] void KeyDown(short* KeyCode, short Shift);
[id(2)] void LoadComplete(BSTR* URL, short Status);
//}}AFX_ODL_EVENT
};
// Class information for CWebsterCtrl
[ uuid(FF0A47B0-5CAC-11CE-ACAF-00AA004CA344), licensed,
helpstring("Webster Control"), control ]
coclass Webster
{
[default] dispinterface _DWebster;
[default, source] dispinterface _DWebsterEvents;
};
//{{AFX_APPEND_ODL}}
};